﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace UtilsORM.MySqlData;

/// <summary>
/// 设备
/// </summary>
[Index("li_guid", Name = "idxlguid")]
public partial class iot_device_task_plain_item_log
{
    [Key]
    public long li_id { get; set; }

    public string li_guid { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    [StringLength(50)]
    public string li_title { get; set; }

    [Column(TypeName = "datetime(3)")]
    public DateTime? li_add_time { get; set; }

    /// <summary>
    /// 0正常，1失败
    /// </summary>
    public int li_status { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [StringLength(1000)]
    public string li_remark { get; set; }

    [StringLength(255)]
    public string li_tpi_guid { get; set; }

    [StringLength(255)]
    public string li_tp_guid { get; set; }

    /// <summary>
    /// 执行批次
    /// </summary>
    [StringLength(100)]
    public string li_execute_batch_no { get; set; }
}
